package com.cookiesoft.order.domain;

    import java.math.BigDecimal;
    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;
import com.cookiesoft.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cookiesoft.common.annotation.Excel;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 支付详情，存储订单支付信息对象 zhen_paymentdetails
 *
 * @author anc
 * @date 2024-11-06
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(resultMap = "com.cookiesoft.order.mapper.ZhenPaymentdetailsMapper.ZhenPaymentdetailsResult")
public class ZhenPaymentdetails extends BaseEntity {
private static final long serialVersionUID = 1L;

        /** 支付ID，主键 */
        private Long paymentId;

        /** 关联的订单ID */
                @Excel(name = "关联的订单ID" )
        private Long orderId;

        /** 支付方式 */
                @Excel(name = "支付方式" )
        private String paymentMethod;

        /** 支付日期 */
                @JsonFormat(pattern = "yyyy-MM-dd" )
                @Excel(name = "支付日期" , width = 30, dateFormat = "yyyy-MM-dd" )
        private Date paymentDate;

        /** 支付金额 */
                @Excel(name = "支付金额" )
        private BigDecimal amount;


}
